<!--
 * @Date: 2020-07-11 16:51:25
 * @LastEditors: leehave
 * @LastEditTime: 2020-09-01 15:39:27
-->
<template>
  <div class="card-container">
    <div class="card-content">
      <div class="balance">
        账户余额：
        <span>{{balance}}元</span>
      </div>
      <div class="services-site">服务站点：{{services}}</div>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    balance: {
      type: String,
      value: ''
    },
    services: {
      type: String,
      value: '服务站点名称'
    },
  },
  data() {
    return {};
  },
  computed: {},
  created() {},
  mounted() {},
  watch: {},
  methods: {},
  components: {}
};
</script>

<style lang="less">
.card-container {
  width: 100%;
  height: 135px;
  border-radius: 5px;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.card-container .card-content {
  padding: 15px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: flex-start;
}

.card-container .card-content .balance {
  font-size: 18px;
  color: #fff;
  margin-bottom: 20px;
}
.card-container .card-content .balance span{
  display: inline-block;
  
}
.card-container .card-content .services-site {
  font-size: 14px;
  color: #fff;
}
</style>
